A8C\FSE\Earn\PremiumContent\SubscriptionService\Token_Subscription_Service S

Total Complexity 38
Dependencies 3
Dependents 0
Total lines 235
Lines of code 114
Logical lines of code 62
Comment lines 95
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
visitor_can_view_content()
S
51 7 29
validate_subscriptions()
S
56 7 18
abbreviate_subscriptions()
S
56 7 16
decode_token()
S
59 3 14
token_from_request()
S
65 3 9
initialize()
S
71 2 6
access_url()
S
65 2 9
token_from_cookie()
S
73 2 5
set_token_cookie()
S
72 2 5
get_key()
S
100 1 0
get_site_id()
S
100 1 0
get_rest_api_token_url()
S
78 1 3